import java.sql.Connection;
import java.util.HashMap;

import com.dhtmlx.connector.*;

public class grid_05_select_filter_connector extends ConnectorServlet {

	@Override
	protected void configure() {
		Connection conn= ( new DataBaseConnection()).getConnection();

		GridConnector c = new GridConnector(conn);
		c.dynamic_loading(100);

		HashMap<String, String> options = new HashMap<String, String>();
		options.put("One", "One");
		options.put("Two", "Two");
		options.put("Three", "Three");
		c.set_options("item_nm", options);

		c.render_table("grid50000", "item_id", "item_nm,item_cd");

	}

}
